<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>v_hgorder</title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="online/template/ledefault/css/vendor.css">
  <link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
  <link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
  <link rel="stylesheet" href="online/template/ledefault/css/app.css">
  
  <link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
  <link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
  
  <script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
  <script type="text/javascript" src="plug-in/tools/dataformat.js"></script>
  <script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
  <script type="text/javascript" src="plug-in/easyui/locale/zh-cn.js"></script>
  <script type="text/javascript" src="plug-in/tools/syUtil.js"></script>
  <script type="text/javascript" src="plug-in/My97DatePicker/WdatePicker.js"></script>
  <script type="text/javascript" src="plug-in/lhgDialog/lhgdialog.min.js"></script>
  <script type="text/javascript" src="plug-in/tools/curdtools_zh-cn.js"></script>
  <script type="text/javascript" src="plug-in/tools/easyuiextend.js"></script>
  <script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
  <script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
  <script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
  <script type="text/javascript" src="plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
  <script type="text/javascript"  charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
  <script type="text/javascript"  charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
   <script type="text/javascript">
  //编写自定义JS代码
  </script>
</head>

 <body>
	<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="vHgorderController.do?doUpdate" tiptype="1" >
			<input type="hidden" id="btn_sub" class="btn_sub"/>
			<input type="hidden" name="id" value='${vHgorderPage.id}' >
			
			
			<div class="tab-wrapper">
			    <!-- tab -->
			    <ul class="nav nav-tabs">
			      <li role="presentation" class="active"><a href="javascript:void(0);">v_hgorder</a></li>
			    </ul>
			    <!-- tab内容 -->
			    <div class="con-wrapper" id="con-wrapper1" style="display: block;">
			      <div class="row form-wrapper">
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>所属公司：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="company" name="company" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.company}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">所属公司</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>所属部门：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="bm" name="bm" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.bm}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">所属部门</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>创建人登录名称：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="createBy" name="createBy" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.createBy}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">创建人登录名称</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>创建人名称：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="createName" name="createName" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.createName}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">创建人名称</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>创建日期：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="createDate" name="createDate" type="text" style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ignore="ignore"  value='<fmt:formatDate value='${vHgorderPage.createDate}' type="date" pattern="yyyy-MM-dd hh:mm:ss"/>' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">创建日期</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>更新日期：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="updateDate" name="updateDate" type="text" style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ignore="ignore"  value='<fmt:formatDate value='${vHgorderPage.updateDate}' type="date" pattern="yyyy-MM-dd hh:mm:ss"/>' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">更新日期</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>客户编号：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="cardcode" name="cardcode" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.cardcode}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">客户编号</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>客户名称：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="cardname" name="cardname" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.cardname}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">客户名称</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>发票号：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="invcode" name="invcode" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.invcode}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">发票号</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>提单号：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="tdcode" name="tdcode" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.tdcode}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">提单号</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>预计进场时间：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="plandtime" name="plandtime" type="text" style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ignore="ignore"  value='<fmt:formatDate value='${vHgorderPage.plandtime}' type="date" pattern="yyyy-MM-dd hh:mm:ss"/>' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">预计进场时间</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>截放行时间：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="duedate" name="duedate" type="text" style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ignore="ignore"  value='<fmt:formatDate value='${vHgorderPage.duedate}' type="date" pattern="yyyy-MM-dd hh:mm:ss"/>' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">截放行时间</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>查验费：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="cyfy" name="cyfy" type="text" class="form-control" datatype="/^(-?\d+)(\.\d+)?$/"  ignore="ignore"  value='${vHgorderPage.cyfy}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">查验费</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>改单费：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="gdfy" name="gdfy" type="text" class="form-control" datatype="/^(-?\d+)(\.\d+)?$/"  ignore="ignore"  value='${vHgorderPage.gdfy}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">改单费</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>换载费：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="hzfy" name="hzfy" type="text" class="form-control" datatype="/^(-?\d+)(\.\d+)?$/"  ignore="ignore"  value='${vHgorderPage.hzfy}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">换载费</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>总计：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="total" name="total" type="text" class="form-control" datatype="/^(-?\d+)(\.\d+)?$/"  ignore="ignore"  value='${vHgorderPage.total}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">总计</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>单据进度：</b>
			          </div>
			          <div class="col-xs-3">
								<t:dictSelect field="docstatus" type="list" extendJson="{class:'form-control'}"   typeGroupCode=""  defaultVal="${vHgorderPage.docstatus}" hasLabel="false"  title="单据进度"></t:dictSelect>     
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">单据进度</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>海关商品编码：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="hscode" name="hscode" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.hscode}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">海关商品编码</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>商品：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="hsname" name="hsname" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.hsname}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">商品</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>etdate：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="etdate" name="etdate" type="text" style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;"  class="form-control" onClick="WdatePicker()" ignore="ignore"  value='<fmt:formatDate value='${vHgorderPage.etdate}' type="date" pattern="yyyy-MM-dd"/>' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">etdate</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>报关港口 ：</b>
			          </div>
			          <div class="col-xs-3">
								<t:dictSelect field="mtou" type="list" extendJson="{class:'form-control'}"   typeGroupCode=""  defaultVal="${vHgorderPage.mtou}" hasLabel="false"  title="报关港口 "></t:dictSelect>     
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">报关港口 </label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>目的港：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="pod" name="pod" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.pod}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">目的港</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>装货港：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="pol" name="pol" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.pol}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">装货港</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>报关否：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="ifcustoms" name="ifcustoms" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.ifcustoms}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">报关否</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>进出口类型：</b>
			          </div>
			          <div class="col-xs-3">
								<t:dictSelect field="eiType" type="list" extendJson="{class:'form-control'}"   typeGroupCode=""  defaultVal="${vHgorderPage.eiType}" hasLabel="false"  title="进出口类型"></t:dictSelect>     
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">进出口类型</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>船名：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="shiping" name="shiping" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.shiping}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">船名</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>运输方式：</b>
			          </div>
			          <div class="col-xs-3">
								<t:dictSelect field="tranType" type="list" extendJson="{class:'form-control'}"   typeGroupCode=""  defaultVal="${vHgorderPage.tranType}" hasLabel="false"  title="运输方式"></t:dictSelect>     
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">运输方式</label>
			          </div>
			          
			        
			          <div class="col-xs-3 text-center">
			          	<b>放行单号：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="fxdonum" name="fxdonum" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.fxdonum}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">放行单号</label>
			          </div>
							</div>
			          
			        
							<div class="row show-grid">
			          <div class="col-xs-3 text-center">
			          	<b>报关总额：</b>
			          </div>
			          <div class="col-xs-3">
								<input id="doctotal" name="doctotal" type="text" class="form-control" ignore="ignore"  value='${vHgorderPage.doctotal}' />
						<span class="Validform_checktip" style="float:left;height:0px;"></span>
						<label class="Validform_label" style="display: none">报关总额</label>
			          </div>
							<div class="col-xs-2 text-center"><b></b></div>
			         		<div class="col-xs-4"></div>
							</div>
			          
			        
			          <div class="row" id = "sub_tr" style="display: none;">
				        <div class="col-xs-12 layout-header">
				          <div class="col-xs-6"></div>
				          <div class="col-xs-6"><button type="button" onclick="neibuClick();" class="btn btn-default">提交</button></div>
				        </div>
				      </div>
			     </div>
			   </div>
			   
			   <div class="con-wrapper" id="con-wrapper2" style="display: block;"></div>
			 </div>
  </t:formvalid>

<script type="text/javascript">
   $(function(){
    //查看模式情况下,删除和上传附件功能禁止使用
	if(location.href.indexOf("load=detail")!=-1){
		$(".jeecgDetail").hide();
	}
	
	if(location.href.indexOf("mode=read")!=-1){
		//查看模式控件禁用
		$("#formobj").find(":input").attr("disabled","disabled");
	}
	if(location.href.indexOf("mode=onbutton")!=-1){
		//其他模式显示提交按钮
		$("#sub_tr").show();
	}
   });

  var neibuClickFlag = false;
  function neibuClick() {
	  neibuClickFlag = true; 
	  $('#btn_sub').trigger('click');
  }

</script>
 </body>
<script src = "webpage/com/yserp/hgv/vHgorder.js"></script>		
</html>